module.exports = {
    mode: 'development',

    entry: './src/index.ts',
    output: {
        filename: 'index.js',
        path: __dirname+'/dist',
        libraryTarget:"umd",
        library:"Andy",
        libraryExport:"default"
    },
    module: {
        rules: [{
            test: /\.ts$/,
            use: "ts-loader"
        }]
    },
    resolve: {
        extensions: ['.ts', '.tsx', '.js']
    },
};